<template>
    <div class="home">
        <span>
            this is backstage
        </span>
        <el-button class="login-btn" @click="jum">login</el-button>
        <Editor />
    </div>
</template>

<script>
    import Editor from '../common/Editor'
    export default {
        name: "Backstage",
        components: {
            'Editor': Editor,
        },
        data() {
            return {

            }
        },
        methods: {
            getData() {
                this.$https.get('http://localhost:8080/gmu/user/allUser').then(res =>{
                    console.log(res)
                })
            },
            jum() {
                this.$router.push('/login')
            }
        },
        mounted() {
            this.getData()
        }
    }
</script>

<style scoped>

</style>